package com.bailan.foreat.service;

import com.bailan.foreat.entity.Seller;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ste
 * @since 2023-02-21 07:50:43
 */
public interface SellerService extends IService<Seller> {

    void register(String sellerName, String sellerPassword, String rePassword, String sellerImg);

    void login(String sellerName, String sellerPassword);

    Seller getCurrentSeller(String account);

    Seller getSellerBySellerName(String sellerName);

    void changePassword(String sellerOldPassword, String sellerPassword, String rePassword, String currentSellerName);
}
